const req = require.context("./", true, /\.js$/)
let modules = {}
req.keys().forEach((filename) => {
  if (filename === "./index.js") return
  modules[filename.replace(/(\.\/|\.js)/g, "")] = req(filename).default
})
export default modules